package com.coldchain.customer.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 客服专员
 * </p>
 *
 * @author fangliai
 * @since 2018-10-25
 */
@TableName("ch_customer_account")
public class CustomerAccount implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId("accountId")
    private String accountId;

    /**
     * 登录账号
     */
    @TableField("loginUserName")
    private String loginUserName;

    /**
     * 登录密码
     */
    @TableField("loginPassword")
    private String loginPassword;

    /**
     * 昵称
     */
    @TableField("nickName")
    private String nickName;

    /**
     * 性别
     */
    private String sex;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 接待次数
     */
    private Integer receivecuont;

    /**
     * 好评次数
     */
    private Integer likecuont;

    /**
     * 开启状态
     */
    private Integer enable;

    /**
     * 工作状态
     */
    @TableField("workingStatus")
    private Integer workingStatus;

    /**
     * 删除标识
     */
    @TableField("deleteFlag")
    private Integer deleteFlag;

    /**
     * 版标标识
     */
    private Integer version;

    @TableField("createTime")
    private LocalDateTime createTime;

    @TableField("createBy")
    private String createBy;


    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getLoginUserName() {
        return loginUserName;
    }

    public void setLoginUserName(String loginUserName) {
        this.loginUserName = loginUserName;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public Integer getReceivecuont() {
        return receivecuont;
    }

    public void setReceivecuont(Integer receivecuont) {
        this.receivecuont = receivecuont;
    }

    public Integer getLikecuont() {
        return likecuont;
    }

    public void setLikecuont(Integer likecuont) {
        this.likecuont = likecuont;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public Integer getWorkingStatus() {
        return workingStatus;
    }

    public void setWorkingStatus(Integer workingStatus) {
        this.workingStatus = workingStatus;
    }

    public Integer getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(Integer deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    @Override
    public String toString() {
        return "CustomerAccount{" +
        "accountId=" + accountId +
        ", loginUserName=" + loginUserName +
        ", loginPassword=" + loginPassword +
        ", nickName=" + nickName +
        ", sex=" + sex +
        ", age=" + age +
        ", receivecuont=" + receivecuont +
        ", likecuont=" + likecuont +
        ", enable=" + enable +
        ", workingStatus=" + workingStatus +
        ", deleteFlag=" + deleteFlag +
        ", version=" + version +
        ", createTime=" + createTime +
        ", createBy=" + createBy +
        "}";
    }
}
